﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BSCMFF.Core.DataAccessLayer;
using BSCMFF.Core;

namespace BSCMFF.Web.Pages.Surveys.Personalist
{
    /// <summary>
    /// Create Survey
    /// </summary>
    /// <remarks></remarks>
    public partial class CreateSurvey : MultiLanguagePage
    {
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// Handles the Click event of the RadButtonBack control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void RadButtonBack_Click(object sender, EventArgs e)
        {
            Response.Redirect("ManageSurveys.aspx");
        }

        /// <summary>
        /// Handles the Click event of the RadButtonConfirmDetails control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void RadButtonConfirmDetails_Click(object sender, EventArgs e)
        {
            PlaceHolderQuestions.Visible = true;
            //RadButtonConfirmDetails.Visible = false;
            sd.IsEditMode = false;
            RadButtonSubmit.Visible = true;
            
            PanelDetails.Enabled = false;
        }


        /// <summary>
        /// Loads the survey.
        /// </summary>
        /// <remarks></remarks>
        private void LoadSurvey()
        {
          
        }

        /// <summary>
        /// Handles the Click1 event of the RadButtonBack control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        /// <remarks></remarks>
        protected void RadButtonBack_Click1(object sender, EventArgs e)
        {
            Response.Redirect("ManageSurveys.aspx");
        }
    }
}